import { getProductCategory } from '@/api/categoty.js'
import { getToken, setToken, removeToken } from '@/utils/auth'
import { resetRouter } from '@/router'

const getDefaultState = () => {
  return {
    category: ''
  }
}

const state = getDefaultState()

const mutations = {
  RESET_STATE: (state) => {
    Object.assign(state, getDefaultState())
  },
  SET_CATEGORY: (state, category) => {
    state.category = category
  },
  
}

const actions = {
  
}